setLabelFor

open fun setLabelFor(@NonNull view: View, @IdRes labeledId: Int)(source)

Deprecated

Call setLabelFor directly.

Sets the id of a view for which a given view serves as a label for accessibility purposes.

Parameters

view

The view on which to invoke the corresponding method.

labeledId

The labeled view id.